package cn.com.bluemoon.daps.model.entity;

import cn.com.bluemoon.daps.common.domain.BaseModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 申请发布版本记录表
 * </p>
 *
 * @author admin
 * @since 2020-08-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors
@ApiModel(value = "DapDataModelOperateHistory", description = "申请发布版本记录表")
public class DapDataModelOperateHistory extends BaseModel<DapDataModelOperateHistory> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "申请发布审批状态表id")
    private String dataModelRecordId;

    @ApiModelProperty(value = "模型下属表id")
    private String modelTableId;

    @ApiModelProperty(value = "发布内容")
    private String publicContent;

    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime publicTime;

    @ApiModelProperty(value = "1-3 新增表、删除表、修改表")
    private int lastChangeType;

    @ApiModelProperty(value = "模型id")
    private String modelId;

    @ApiModelProperty(value = "表中文名")
    private String tableName;

    @ApiModelProperty(value = "表英文名")
    private String tableEngName;


}
